package com.example.ktsb

import com.example.ktsb.service.UserService3
import org.junit.jupiter.api.Test
import org.springframework.context.support.ClassPathXmlApplicationContext

class SpringXmlTests {

    @Test
    fun testXml() {
        val context = ClassPathXmlApplicationContext("applicationContext.xml")
        val userService3 = context.getBean("userService3") as UserService3
        println(userService3.findUser())
    }

}